<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>日志概况</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script type="text/javascript" src="${ctx}/scripts/sys/calendar.js"></script>
<script type="text/javascript">
function delete_code()
{
msg="您确认要清空系统日志吗？";
 if(window.confirm(msg))
 {
  URL="../sys/log!deleteAllLog.action";
  window.location=URL;
 }
}</script>
</head>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css"/>
<body class="m_6">
<div id="main">
	<div class="zdsz" id="select1">
		<div class="tab"><a href="ctx/../log!index.action"><h3 class="sel">日志管理</h3></a><a href="ctx/../log!summary.action"><h3 >日志概况</h3></a></div>
		<div class="zd_gut">
		<ul class="block">
		<li>
		<form action="ctx/../log!searchLog.action" name="form1" method="post">
		  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_1">
			  <tr>
				<td colspan="2" class="bg1 left"><span class="font14">日志概况</span></td>
			  </tr>	
               <tr  >
               <td class="w1">日志类型：</td>
				<td><select name="codeno" >
			        <option value="-1">--所有日志--</option>
			        <s:iterator value="codes" status="code" >
			          <option  value="<s:property value="codeNo"></s:property>"><s:property value="codeName"></s:property></option>
			        </s:iterator>
			        </select>
			     </td>
			  </tr>
			  <tr>
				<td class="w1">起始时间：</td>
				<td><input type="text" name="startTime"  maxlength="20"  class="fl_l" >
			    <div class="zx_img"><img src="${ctx}/images/main/calendar.gif" align="absMiddle" border="0" style="cursor:hand" onclick="setday(this,document.all.startTime)"></div></td>
			  </tr>
			  <tr>
				<td class="w1">截止时间：</td>
				<td><input type="text" name="endTime" class="fl_l" value="${endtimestr}"/>
			    <div class="zx_img"><img src="${ctx}/images/main/calendar.gif" align="absMiddle" border="0" style="cursor:hand" onclick="setday(this,document.all.endTime)"></div></td>
			  </tr>
			  <tr>
				<td class="w1">IP地址：</td>
				<td><input name="logIp" type="text"/></td>
			  </tr>
			  <tr>
				<td class="w1">操作类型：</td>
				<td><input type="radio" name="searchType" value="0" id="QUERY" checked/>查询
				    <input type="radio" name="searchType" value="1" id="DELETE"/>删除</td>
			  </tr>
			  <tr>
			    <td colspan="2" align="center"><input name="button2" type="submit" class="log_f zc_b" value="确　定" /></td>
		      </tr>
			</table>
		</form>
			<br/>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_1">
			  <tr>
				<td class="bg1 left"><span class="font14">清空系统日志</span></td>
			  </tr>
			  <tr>
				<td align="center">
				  <input  type="button" class="zc_b" value="清空系统日志" onclick="delete_code()"/>
				</td>
			  </tr>
			</table>
		</li>
		</ul>
		</div>
	</div>
</div>
</body>
</html>